package com.xw.screen.capture;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 应用启动类
 *
 * @author xiongwei
 * @date 2020-11-21
 */
@SpringBootApplication
public class ScreenApplication {

	public static void main(String[] args) {
		// 解决 java.awt.HeadlessException，不加，截屏会出错
		System.setProperty("java.awt.headless", "false");

		SpringApplication.run(ScreenApplication.class, args);
	}

}
